<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">

  <cpn :cmovies="movies"></cpn>
</div>
<template id="cpn">
  <div>
    <p v-for="item in cmovies">{{item}}</p>
  </div>
</template>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
<script>
  const cpn = {
    template: '#cpn',
    props: {
      cmovies: {
        type: Array,
        default() {
          return []
        }
      }

    }
  }
  const app = new Vue({
    el: "#app",
    data: {
      movies: ['1111', '2222', '33333', '44444']
    },
    components: {
      cpn
    }
  })
</script>
</body>
</html>
